<!DOCTYPE html>
<html>
<head>
  <title>CouponBook</title>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
</head>
<body>
	<div id="user_nav">
	  <% if current_user %>
	    Welcome, <%= current_user.name %>!
	    <%= link_to "Sign Out", signout_path %>
	  <% else %>
	    <%= link_to "Sign in with Twitter", "/auth/twitter" %>
	    <%= link_to "Sign in with Facebook", "/auth/facebook" %>
	  <% end %>
	</div>
<%= yield %>

</body>
</html>
